﻿@using BastInfos.Helpers

@model DataAccess.Comment

<h1><span>R&eacute;agissez</span></h1>
<span>@if (ViewBag.ShowConfirm != null && ViewBag.ShowConfirm) { <text>@ViewBag.Confirm</text> }</span>
<div>
    @using(Html.BeginForm()) {
		<table border="0" cellpadding="0" cellspacing="5">
		<tr>
			<td style="padding:2px;width:90px;">@Html.LabelFor(c => c.Pseudo) :</td>
			<td style="padding:2px;">@Html.TextBoxFor(c => c.Pseudo)</td>
			<td style="padding:2px;">@Html.ValidationMessageFor(c => c.Pseudo)</td>
		</tr>
		<tr>
			<td style="padding:2px;width:90px;">@Html.LabelFor(c => c.Email) :</td>
			<td style="padding:2px;">@Html.TextBoxFor(c => c.Email)</td>
			<td style="padding:2px;">@Html.ValidationMessageFor(c => c.Email)</td>
		</tr>
		</table>
		@Html.TextAreaFor(c => c.Content, new { style = "width:100%;Height:100px;" })
		<br /><br />
		@Html.ValidationMessageFor(c => c.Content)
		<br /><br />
		<input type="submit" value="Envoyer" style="padding: 1px 3px;"/>
	}
</div>